package org.catdroid.bomba.classes;

import java.util.ArrayList;

@SuppressWarnings("serial")
public class Players extends ArrayList<Player> {

	public boolean allReady()
	{
		for (Player p:this)
		{
			if (!p.isReady())
			{
				return false;
			}
		}
		return true;
	}
	
	@Override
	public String toString() {
		String cadena = "";
		
		for (Player p:this)
		{
			cadena += p.toString();
		}
		
		return cadena;
	}
}
